package com.tfjybj.itoo.exam.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * EvaluationStudentModel
 * 学生问卷表
 *
 * @author 贾建清 
 * @version 2.0.0
 * @since 2.0.0 2019-05-02 15:20:23
 */
@ApiModel(value = "EvaluationStudentModel:学生问卷表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class EvaluationStudentModel implements Serializable {

    //region 模板逆向生产来自EvaluationStudentEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "evaluationStudent主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 问卷id
	 */
    @ApiModelProperty(value = "问卷id")
	private String evaluationPaperId;

	/**
	 * 学生id
	 */
    @ApiModelProperty(value = "学生id")
	private String studentId;

	/**
	 * 学生IDS
	 *
	 */
	private String[] studentIds;

	/**
	 * 教师_id
	 */
	@ApiModelProperty(value = "教师_id",required = true)
	private String teacherId;

	/**
	 * 课程_id
	 */
	@ApiModelProperty(value = "课程_id",required = true)
	private String courseId;

	/**
	 * 填写问卷开始时间
	 */
	@JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "填写问卷开始时间")
	private Date startTime;

	/**
	 * 填写问卷结束时间
	 */
	@JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "填写问卷结束时间")
	private Date endTime;

	/**
	 * 学年学期id
	 */
    @ApiModelProperty(value = "学年学期id")
	private String schoolYearId;

	/**
	 * 状态（0 待评卷，1 已评卷）
	 */
    @ApiModelProperty(value = "状态（0 待评卷，1 已评卷）", example = "0")
	private Integer status;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */

	/**
	 * 学年学期名称
	 */
	@ApiModelProperty(value = "教师名字",required = true)
	private String teacherName;

	/**
	 * 学年学期名称
	 */
	@ApiModelProperty(value = "教师名字",required = true)
	private String courseName;

}
